package ldh.im.base.impojo;

import io.netty.buffer.ByteBuf;

public class CommonData {

    // 业务类型
    private short businessType;
    // 头部信息
    private ByteBuf headInfo;
    // 内容数据
    private ByteBuf contentData;

    public CommonData() {

    }

    public CommonData(short businessType, ByteBuf headInfo, ByteBuf contentData) {
        this.businessType = businessType;
        this.headInfo = headInfo;
        this.contentData = contentData;
    }

    public short getBusinessType() {
        return businessType;
    }

    public void setBusinessType(short businessType) {
        this.businessType = businessType;
    }

    public ByteBuf getHeadInfo() {
        return headInfo;
    }

    public void setHeadInfo(ByteBuf headInfo) {
        this.headInfo = headInfo;
    }

    public ByteBuf getContentData() {
        return contentData;
    }

    public void setContentData(ByteBuf contentData) {
        this.contentData = contentData;
    }
}
